package com.gdkj.constant;

public class RedisConstant {
    /**
     * 公共配置
     */
    public static final String PUB_CONFIG_KEY = "getConfigPub";

    /**
     * 私有配置
     */
    public static final String PRI_CONFIG_KEY = "getConfigPri";

    /**
     * 首页配置
     */
    public static final String QUICK_JOIN_CONFIG_REDIS_KEY = "quick_join_config:";

    /**
     * im过期时间
     */
    public static final Long IM_SIGN_CASH_TIME = 315360000L;

    /**
     * im签名前缀
     */
    public static final String IM_SIGN_PREFIX = "im_";

    /**
     * 房主列表
     */
    public static final String HOT_ANCHOR_NEW_HASH = "hot_anchor_new";

    /**
     * 用户禁用状态
     */
    public static final String USER_FORBIDDEN_PREFIX = "user_status_ban_";

    /**
     * 用户拉黑集合
     */
    public static final String USERS_BLACK_SETS = "users_black_sets_";

    /**
     * 用户被拉黑列表
     */
    public static final String USERS_BLACKED_SETS = "users_blacked_sets_";

    /**
     * 当前所有房间用户
     */
    public static final String ONLINE_USER_SET = "online_user_set";

    /**
     * 房间信息前缀
     */
    public static final String ROOM_PREFIX = "room:";

    /**
     * 聊天历史
     */
    public static final String CHAT_HISTORY_PREFIX = "chat_history:";

    /**
     * 朋友关系hash key前缀
     */
    public static final String USER_FRIEND_HASH_PREFIX = "user_friend_hash:";

    /**
     * 登录验证码
     */
    public static final String LOGIN_CODE = "login:Code:";

    /**
     * 验证码重复发送记时
     */
    public static final String LOGIN_SEND = "login:Send:";

    /**
     * 验证码重复发送记时
     */
    public static final String LOGIN_TOKEN = "login:Token:";

    /**
     * 房间号集合（已存数据库）
     */
//    public static final String ROOM_NUMBER_SET = "room:number:set";

    /**
     * 麦位邀请记录
     */
    public static final String INVITE_MIKE_RECORD_SET_KEY = "mike_invite_record_set:";

    /**
     * 贡献榜缓存前缀
     */
    public static final String USER_CONTRIBUTE_PREFIX = "user_";

    /**
     * 用户关注列表
     */
    public static final String USER_ATTENTION_SET_PREFIX = "user_attention_set_";

    /**
     * 用户粉丝列表
     */
    public static final String USER_FANS_SET_PREFIX = "user_fans_set_";

    /**
     * 房间聊天人数 SET类型
     */
    public static final String SET_CHATROOM_UV_SMSG_PREFIX = "chatroom_uv_smsg:";

    /**
     * 房间累计聊天次数 String
     */
    public static final String STRING_CHATROOM_PV_SMSG_PREFIX = "chatroom_pv_smsg:";

    /**
     * 房间累计进入次数 String
     */
    public static final String STRING_ROOM_USER_GRAND_TOTAL_PREFIX = "room_user_grand_total:";

    /**
     * 房间峰值人数
     */
    public static final String ROOM_AUDIENCE_PEAK_VALUE_NUMBER = "room_audience_peak_value_number:";

    /**
     * 房间累计进入人数
     */
    public static final String ROOM_AUDIENCE_ALL_SET = "room_audience_all_set:";

    /**
     * 房间分享次数 String
     */
    public static final String STRING_ROOM_SHARE_GRAND_TOTAL_PREFIX = "room_share_grand_total:";

    /**
     * 房间累计收益 String
     */
    public static final String STRING_ROOM_INCOME_GRAND_TOTAL_PREFIX = "room_income_grand_total:";

    /**
     * 房间累计游戏次数 String
     */
    public static final String STRING_ROOM_GAME_TIMES_GRAND_TOTAL_PREFIX = "room_game_times_grand_total:";

    /**
     * 单场直播的送礼物uv-打赏人数
     */
    public static final String UV_SEND_GIFT_PREFIX = "uv_send_gift_set:";

    /**
     * 单场直播的送礼物pv-打赏次数
     */
    public static final String PV_SEND_GIFT_PREFIX = "pv_send_gift:";

    /**
     * 找人玩redis配置
     */
    public static final String FIND_PEOPLE_PLAY_NUMBER_CONFIG = "find_people_play_number_config";

    /**
     * 热度值系数配置 string (后台维护)(时间为不过期)
     */
    public static final String STRING_HEAT_VALUE_COEFFICIENT_CONFIG_PREFIX = "heat_value_coefficient_config";

    /**
     * 房间内周期时间
     */
    public static final Integer ROOM_CYCLE_EXPIRED = 3 * 24 * 3600;

    /**
     * 麦位信息
     */
    public static final String MIKE_DATA_HASH_PREFIX = "mike:hash:";

    /**
     * 匹配队列前缀
     */
    public static final String MATCH_QUEUE_PREFIX = "match_queue:";

    /**
     * 派对列表配置
     */
    public static final String PARTY_LIST_CONFIG = "call_friends:home_party_list_config";

    /**
     * 召集玩友-进入指定页面
     */
    public static final String CALL_FRIENDS_INTO_PAGE = "call_friends:intoPage:";

    /**
     * 召集玩友记录
     */
    public static final String CALL_FRIENDS = "call_friends:";

    /**
     * 召集玩友配置
     */
    public static final String CALL_FRIENDS_CONFIG = "config:call_friends";

    /**
     * 召集玩友配置
     */
    public static final String USER_REGISTER_CONFIG = "config:user_register";

    /**
     * 召集玩友-召集中
     */
    public static final String CALL_FRIENDS_CALLING = "call_friends:calling:";

    /**
     * 召集玩友-召集后
     */
    public static final String CALL_FRIENDS_CALLED = "call_friends:called:";

    /**
     * 封面图库缓存key
     */
    public static final String ROOM_THUMB_KEY = "room_thumb_key";

    /**
     * 标题库缓存key
     */
    public static final String ROOM_TITLE_KEY = "room_title_key";

    /**
     * 麦位锁前缀
     */
    public static final String MIKE_NUMBER_LOCK_PREFIX = "mike_number_lock:";

    /**
     * 房间配置
     */
    public static final String ROOM_TYPE_CONFIG = "room_type_config";

    /**
     * 你画我猜-进房限制配置
     */
    public static final String DRAW_INTO_ROOM_CONFIG = "config:draw_into_room_config";

    /**
     * 你画我猜-换词限制配置
     */
    public static final String DRAW_CHANGE_WORD_CONFIG = "config:draw_change_word_config";

    /**
     * 机器人列表
     */
    public static final String ROBOT_USER_SET = "robot_user_set";

    /**
     * 你画我猜-轮数
     */
    public static final String DRAW_ROUNDS = "draw:rounds:";
    /**
     * 你画我猜-准备
     */
    public static final String DRAW_READY = "draw:ready:";
    /**
     * 你画我猜-得分
     */
    public static final String DRAW_SCORE = "draw:scores:";
    /**
     * 你画我猜-点位
     */
    public static final String DRAW_POINT = "draw:point:";

    /**
     * ip和设备黑名单
     */
    public static final String IP_DEVICE_BLACK_LIST_KEY = "ip_device_black_info";

    /**
     * ktv倒计时 时间纪录 拼接的是uid
     */
    public static final String KTV_READ_COUNTDOWN_TIME = "ktv_ready_countdown_time:";

    /**
     * 热度值计算，定时增加热度值 String
     * {
     * "startTime": "1654654472",
     * "endTime": "1654654477", //end_time为0表示没有结束时间
     * "hotValue": "12",
     * "type": "inc" // inc 增加，dec减少
     * }
     */
    public static final String STRING_ROOM_TIMING_INC_OR_DEC_HOT_VALUE = "room_timing_inc_or_dec_hot_value:";

    /**
     * 后台记录管理群组id
     */
    public static final String ADMIN_VERIFY_CHATS_GROUP_ID = "admin_verify_chat_group_id";
    /**
     * 后台审核使用聊天记录
     */
    public static final String ADMIN_CHAT_HISTORY_KEY = "admin_chat_history";

    /**
     * 好友数据过期时间
     */
    public static final Integer USER_FRIEND_HASH_EXPIRE_TIME = 365;

    /**
     * 一个月过期时间
     */
    public static final Integer MONTH_EXPIRE_TIME = 31;

    /**
     * 热度值配置过期时间
     */
    public static final Integer HEAT_VALUE_COEFFICIENT_CONFIG_TIME = 30 * 24 * 3600;

    /**
     * 开播后锁住群组不能5秒内被销毁
     */
    public static final String CREATE_GROUP_ID_LOCK_PREFIX = "create_group_id_lock:";

    /**
     * vip key前缀
     */
    public static final String USER_VIP_PREFIX = "user_vip:";

    /**
     * 用户缓存key
     */
    public static final String USER_INFO_PREFIX = "user_info_new_";

    /**
     * 用户vip充值配置列表缓存
     */
    public static final String USER_VIP_RECHARGE_RULE_LIST = "user_vip_recharge_rule_list";

    /**
     * 获取聊天匹配剩余次数
     */
    public static final String CHAT_MATCH_NUM_KEY = "make_friends_chat_match_num:";

    /**
     * 用户like me集合
     */
    public static final String USERS_LIKE_ME_SETS = "users_like_me_sets:";

    /**
     * 用户被like me集合
     */
    public static final String OTHER_USERS_LIKE_ME_SETS = "other_users_like_me_sets:";

    /**
     * 用户like me num
     */
    public static final String USERS_LIKE_ME_NUM = "users_like_me_num:";

    /**
     * 用户like me 未读数(set 集合)
     */
    public static final String USERS_LIKE_ME_UNREAD_NUM = "users_like_me_unread_num:";

    /**
     * 用户like me 红点(string)
     */
    public static final String USERS_LIKE_ME_UNREAD_NUM_RED_DOT = "users_like_me_unread_num_red_dot:";

    /**
     * 会员权益配置
     */
    public static final String MEMBER_BENEFITS_CONFIG = "memberBenefitsConfig";

    /**
     * 个人私信最后聊天时间纪录
     */
    public static final String PRIVATE_LETTER_LAST_TIME = "private_letter_last_time:";

    /**
     * 私信触发vip引导缓存（存在则不引导，不存在则引导）
     */
    public static final String PRIVATE_LETTER_LAST_TIME_TRIGGER = "private_letter_last_time_trigger:";

    /**
     * 用户vip充值配置列表缓存-php
     */
    public static final String USER_VIP_RECHARGE_RULE_LIST_PHP = "user_vip_recharge_rule_list_php";

    /**
     * 订单查询前缀
     */
    public static final String ORDER_STATE_PREFIX = "order_state:";

    /**
     * ktv房间歌曲数量
     */
    public static final String KTV_MUSIC_NUM = "ktv_music_num:";

    /**
     * 苹果登录配置
     */
    public static final String APPLE_CONFIG = "config:appleKey";

    /**
     * 创建房间锁
     */
    public static final String CREATE_ROOM_LOCK_PREFIX = "room:create:lock:";

    /**
     * 在线游客用户集合
     */
    public static final String ONLINE_TOURIST_USER_SET = "online_tourist_user_set";

    /**
     * 游客房间信息前缀
     */
    public static final String ROOM_TOURIST_PREFIX = "room_tourist:";

    /**
     * 游客信息前缀
     */
    public static final String TOURIST_USER_INFO_PREFIX = "tourist_user_info:";

    /**
     * 游客uv
     */
    public static final String TOURIST_USER_UV_PREFIX = "tourist_user_uv:";

    /**
     * sud接口缓存
     */
    public static final String SUD_API_STR_PREFIX = "sud_api_str:";

    /**
     * 狼人杀游戏局数前缀
     */
    public static final String GAME_WOLF_KILL_NUMBER_PREFIX = "game_wolf_kill_number_";

    /**
     * 你画我猜k钻配置
     */
    public static final String K_DRAW_CONFIG = "k_draw_config";

    /**
     * 五子棋k钻配置
     */
    public static final String K_GO_BANG_CONFIG = "k_go_bang_config";

    /**
     * 国际跳棋k钻配置
     */
    public static final String K_DRAUGHTS_CONFIG = "k_draughts_config";

    /**
     * 扫雷k钻配置
     */
    public static final String K_MINE_CONFIG = "k_mine_config";

    /**
     * 数字炸弹k钻配置
     */
    public static final String K_NUM_BOOM_CONFIG = "k_num_boom_config";

    /**
     * 天降k钻配置
     */
    public static final String K_CONFIG = "k_config";

    /**
     * 所有兑换规则缓存
     */
    public static final String K_ALL_EXCHANGE_RULE_STR = "k_all_exchange_rule_str";

    /**
     * 充值规则缓存key
     */
    public static final String RECHARGE_RULE_LIST_STR = "recharge_rule_list_str";

    /**
     * 更新用户银豆锁
     */
    public static final String UPDATE_USER_SILVER_BEAN_LOCK_PREFIX = "update_user_silver_bean_lock_";

    /**
     * 狼人杀每日完成一局redis缓存
     */
    public static final String WOLF_KILL_EVERY_DAY_COMPLETE_ONE_TIME_PREFIX = "wolf_kill_every_day_complete_one_time_";

    /**
     * 狼人杀每日狼人胜利redis缓存
     */
    public static final String WOLF_KILL_EVERY_DAY_WOLF_WIN_PREFIX = "wolf_kill_every_day_wolf_win_";

    /**
     * 狼人杀连胜3局redis缓存
     */
    public static final String WOLF_KILL_CONTINUE_THREE_WIN_PREFIX = "wolf_kill_continue_three_win_";

    /**
     * 狼人杀连胜3局用户id列表集合
     */
    public static final String WOLF_KILL_CONTINUE_THREE_WIN_SETS = "wolf_kill_continue_three_win_sets";

    /**
     * 用户选择的支付宝方式缓存前缀
     */
    public static final String PAY_TYPE_PREFIX = "charge_alipay_wechat_";

    /**
     * 是否首次前缀
     */
    public static final String FIRST_CHARGE_USERS_PREFIX = "first_charge_users_";

    /**
     * 星球探索基础配置
     */
    public static final String STAR_DIG_BASE_CONFIG = "StarDigBaseConfig";

    /**
     * 星球探索在线用户集合
     */
    public static final String STAR_DIG_ONLINE_SET = "starDigOnlineSet";

    /**
     * 星球探索设计关系有序集合
     */
    public static final String STAR_DIG_SOCIAL_SORT_SET_PREFIX = "star_dig_social_sort_set:";


    /**
     * @Author zhangp
     * @Description 星球游戏用户钻石恢复次数列表
     * @Date 2022/10/31
     **/
    public static final String DIGGING_USER_UPDATE_ENERGY_SET = "digging_user_update_energy_set:";

    /**
     * 星球探索游戏主配置
     */
    public static final String GameStarDigMainConfigStr = "GameStarDigMainConfigStr";

    /**
     * 所有道具缓存字符串
     */
    public static final String AllDiggingPropStr = "AllDiggingPropStr";

    /**
     * 星球探索商店规则主键集合
     */
    public static final String StarDigShopRuleIdSet = "StarDigShopRuleIdSet:";

    /**
     * 修改账户缓存结婚
     */
    public static final String ModifyUserAccountSet = "ModifyUserAccountSet";

    /**
     * 星球探索游戏玉石任务配置缓存key
     */
    public static final String GameStarDigJadeTaskConfigStr = "GameStarDigJadeTaskConfigStr";

    /**
     * 星球探索游戏玉石玩法配置缓存key
     */
    public static final String GameStarDigJadePlayConfigStr = "GameStarDigJadePlayConfigStr";

    /**
     * 星球探索游戏分享配置缓存key
     */
    public static final String GameStarDigShareConfigStr = "GameStarDigShareConfigStr";

    /**
     * 修改X天延时生效 后台更改配置X天定时脚本延迟缓存key
     */
    public static final String AdminModifyXDayDelay = "adminModifyXDayDelay";

    /**
     * 开屏广告缓存
     */
    public static final String OpenScreenAdConfig = "OpenScreenAdConfig";

    /**
     * 每天恢复钻石次数缓存
     */
    public static final String EverydayRecoveryTimesCacheStr = "EverydayRecoveryTimesCacheStr";

    /**
     * 五子棋人机头像配置
     */
    public static final String GO_BANG_SMART_IMAGE_CONFIG = "GoBangSmartImageConfig";

    /**
     * 游戏配置列表缓存
     */
    public static final String GAME_JOIN_CONFIG_REDIS_KEY = "game_join_config";

    /**
     * 游戏分类缓存key
     */
    public static final String GAME_CATEGORY_REDIS_KEY = "game_category";

    /**
     * 星球探索-新增钻石配置
     */
    public static final String GAME_STAR_ADD_ENERGY = "GameStarAddEnergy";

    /**
     * LIKE ME小红点
     */
    public static final String LIKE_ME_RED_DOT_SHOW_PREFIX = "likeMeRedDotShow:";

    /**
     * 道具配置缓存
     */
    public static final String PROP_CONFIG_CACHE_STR = "PROP_CONFIG_CACHE_STR";

    /**
     * 多人游戏消息队列消息id缓存
     */
    public static final String MULTI_PEOPLE_GAME_MSG_ID_PREFIX = "MULTI_PEOPLE_GAME_MSG_ID:";

    /**
     * 游戏加载成功标识
     */
    public static final String GAME_LOADING_SUCCESS_PREFIX = "GAME_LOADING_SUCCESS_PREFIX:";

    /**
     * 数字炸弹当前游戏记录主键id缓存
     */
    public static final String NUMBER_BOMB_CURRENT_RECORD_ID_PREFIX = "NUMBER_BOMB_CURRENT_RECORD_ID:";

    /**
     * 游戏银豆增减配置缓存
     */
    public static final String GAME_SILVER_BEAN_ADD_MINUS_CONFIG = "GAME_SILVER_BEAN_ADD_MINUS_CONFIG";

    /**
     * 数字炸弹锁
     */
    public static final String NUMBER_BOMB_GAME_CONTINUE_LOCK = "NUMBER_BOMB_GAME_CONTINUE_LOCK:";

    /**
     * 私信邀请配置缓存
     */
    public static final String PRIVATE_LETTER_INVITE_CONFIG = "PRIVATE_LETTER_INVITE_CONFIG";

    /**
     * 规则图缓存key
     */
    public static final String RULE_IMAGE = "RULE_IMAGE";

    /**
     * 规则文案缓存key
     */
    public static final String RULE_TEXT = "RULE_TEXT";

    /**
     * @Author zhangp
     * @Description //TODO
     * @Date 2023/1/12
     **/
    public static final String TWO_MAN_GAME_IM_EXIT = "twoManGameImExit:";

    /**
     * 扫雷大作战
     */
    public static final String MINE = "Mine:";

    /**
     * 游戏加载状态前缀
     */
    public static final String GAME_LOADING_STATE_PREFIX = "GAME_LOADING_STATE:";

    /**
     * 游戏加载状态时间
     */
    public static final Long GAME_LOADING_STATE = 30L;

    /**
     * 邀请用户玩游戏hash前缀-最近一起玩游戏记录
     */
    public static final String INVITE_USER_PLAY_GAME_HASH_PREFIX = "INVITE_USER_PLAY_GAME_HASH:";

    /**
     * 正在玩游戏集合
     */
    public static final String ONLINE_GAME_USER_SETS = "ONLINE_GAME_USER_SETS";

    /**
     * im在线用户hash集合
     */
    public static final String ONLINE_USER_HASH_DATA = "ONLINE_USER_HASH_DATA";


    public static final String TWO_MAN_GAME_CONFIG = "twoManGameConfig";
    /**
     * @Author zhangp
     * @Description //答题游戏rediskey
     * @Date 2023/2/7
     **/
    public static final String QUIZ_CONTEST = "quiz_contest:";

    /**
     * 答题竞赛匹配用户缓存
     */
    public static final String ANSWER_CONTEST_MATCH_USER_SET_PREFIX = "ANSWER_CONTEST_MATCH_PEOPLE_SET_PREFIX:";

    /**
     * 答题竞赛游戏概率配置
     */
    public static final String QUIZ_ANSWER_RATE_CONFIG = "QuizAnswerRatConfig";

    /**
     * 答题竞赛机器人昵称字符串缓存
     */
    public static final String ANSWER_CONTEST_ROBOT_NICKNAME_CACHE = "ANSWER_CONTEST_ROBOT_NICKNAME_CACHE";

    /**
     * 答题竞赛机器人昵称集合
     */
    public static final String ANSWER_CONTEST_ROBOT_NICKNAME_SET_PREFIX = "ANSWER_CONTEST_ROBOT_NICKNAME_SET:";

    /**
     * 答题竞赛问题字符串缓存
     */
    public static final String ANSWER_CONTEST_QUESTION_CACHE = "ANSWER_CONTEST_QUESTION_CACHE";

    /**
     * 答题竞赛匹配次数缓存
     */
    public static final String ANSWER_CONTEST_MATCH_TIMES_PREFIX = "ANSWER_CONTEST_MATCH_TIMES:";

    /**
     * 答题竞赛位置信息
     */
    public static final String ANSWER_CONTEST_POSITION_PREFIX = "ANSWER_CONTEST_POSITION:";

    /**
    * 推币机基础配置
    **/
    public static final String PUSH_COIN_CONFIG ="pushCoinConfig:";

    /**
    * 推币机签到配置
    **/
    public static final String PUSH_COIN_SIGN_CONFIG ="pushCoinSignConfig:";

    /**
     * 每日签到
     **/
    public  static final String PUSH_COIN_SIGN = "pushCoinSign:";

    /**
    * 推币机老虎机配置
    **/
    public static final String PUSH_COIN_TIGER_CONFIG = "pushCoinTigerConfig:";

    /**
    * kigo电玩-活动配置
    **/
    public static final String ACTIVITY_CONFIG = "activityConfig";

    /**
    * 配置相关前缀
    **/
    public static final String CONFIG_PRE = "config:";

    /**
     * 推广渠道缓存
     */
    public static final String PROMOTION_CHANNELS = "PROMOTION_CHANNELS";

    /**
     * 首页资源配置
     */
    public static final String HOME_RESOURCE_CONFIG_PREFIX = "HOME_RESOURCE_CONFIG";

    /**
     * 房卡基础配置
     */
    public static final String ROOM_CARD_BASE_CONFIG = "Room_Card_Base_Config";

    /**
     * 房卡密码集合
     */
    public static final String ROOM_CARD_PASSWORD_SETS = "Room_Card_Password_Sets";

    /**
     * 白名单缓存
     */
    public static final String WHITE_LIST_KEY = "white_list_info";

    /**
     * 球机机器id hash
     */
    public static final String BALL_MACHINE_ID_HASH = "ball_machine_id_hash";
}